/**
 *  app设置相关
 */

import IndexBanner from '@/components/page/appConfig/IndexBanner.vue'
import ShareImage from '@/components/page/appConfig/ShareImage.vue'
import EditShareImage from '@/components/page/appConfig/ShareImageEdit.vue'
import AddShareImage from '@/components/page/appConfig/ShareImageAdd.vue'
import AddBanner from '@/components/page/appConfig/add'
import EditBanner from '@/components/page/appConfig/edit'

const route = [
  {
    name: 'appConfig',
    path: '/appConfig/banner',
    component: IndexBanner,
    meta: { title: '首页轮播图设置' }
  },
  {
    name: 'appConfig',
    path: '/appConfig/banner/add',
    component: AddBanner,
    meta: {title: '添加轮播图'}
  },
  {
    name: 'appConfig',
    path: '/appConfig/banner/edit',
    component: EditBanner,
    meta: {title: '编辑轮播图'}
  },
  {
    name: 'appConfig',
    path: '/appConfig/banner',
    component: IndexBanner,
    meta: { title: '首页轮播图设置' }
  },
  {
    name: 'appConfig',
    path: '/appConfig/shareimage',
    component: ShareImage,
    meta: { title: '分享图' }
  },
  {
    name: 'appConfig',
    path: '/appConfig/shareimage/add',
    component: AddShareImage,
    meta: {title: '添加分享图'}
  },
  {
    name: 'appConfig',
    path: '/appConfig/shareimage/edit',
    component: EditShareImage,
    meta: {title: '编辑分享图'}
  }
]

export default route
